//
//  YWDrawView.h
//  YWPhotoEditMaster
//
//  Created by jun peng on 2023/7/26.
//

#import <UIKit/UIKit.h>
#import "YWLayerStatus.h"

NS_ASSUME_NONNULL_BEGIN

@interface YWDrawView : UIView

//添加图层
-(void)addImage:(UIImage *)image withType:(YWLayerStatusType)type;

//撤销图层
-(void)previousHandle;

//前进图层
-(void)nextHandle;

//重置图层
-(void)removeAllHandle;

//获取当前图层
-(UIImage *)getCurrentLayer;


@end

NS_ASSUME_NONNULL_END
